﻿<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>jQuery Bootgrid Test Suite</title>
        <link rel="stylesheet" href="qunit/qunit-1.11.0.css">
    </head>
    <body>
        <h1 id="qunit-header">
            <a href="http://rstaib.github.io/jquery-steps">jQuery Bootgrid Plugin</a> Test Suite
        </h1>
        <div id="qunit-banner"></div>
        <div id="qunit-testrunner-toolbar"><span>jQuery Versions: <input id="version-191" name="version" type="radio" value="1.9.1" /><label for="version-191">jQuery 1.9.1</label>
            <input id="version-1102" name="version" type="radio" value="1.10.2" /><label for="version-1102">jQuery 1.10.2</label>
            <input id="version-1111" name="version" type="radio" value="1.11.1" /><label for="version-1111">jQuery 1.11.1</label>
            <input id="version-latest" name="version" type="radio" value="latest" /><label for="version-latest">jQuery Latest (git)</label></span></div>
        <h2 id="qunit-userAgent"></h2>
        <ol id="qunit-tests"></ol>
        <div id="qunit-fixture">
        </div>
        <script src="qunit/qunit-1.11.0.js"></script>
        <script src="tests-internal.js"></script>
        <script src="tests-rendering.js"></script>
        <script src="tests-extensions.js"></script>
        <script src="jquery.js"></script>
        <script src="../src/internal.js"></script>
        <script src="../src/extensions.js"></script>
        <script>
            $(function ()
            {
                $("input[name='version']").click(function ()
                {
                    location.href = "?version=" + $(this).val();
                });

                var versionPattern = /^[\?|\&]{1}version=(\d{1,2}\.\d{1,2}\.\d{1,2}|latest)/,
                    version = versionPattern.exec(location.search),
                    defaultVersion = "1.11.1";

                if (version != null && version.length > 0)
                {
                    version = version[1];
                }
                else
                {
                    version = defaultVersion;
                }

                $("input[value='" + version + "']").attr("checked", "checked");
            });
        </script>
    </body>
</html>